/**
 * 配置文件
 */
module.exports = {
    qiniu : {
        ACCESS_KEY : '8z56IM4jQWfl8H_oZRwqKE36Z67WzSU_LHcHABBi',
        SECRET_KEY : 'mqLg6Jm8ExkdmRGE4WM9f7vU6t87AgQeZclfVTbm',
        bucket : 'dxadpt',
    },
    //默认推广文字
    qrcode : '我为大西安大平台代言',
    //红包
    redpack : {
        //商户名称
        send_name : '大西安大平台',
        act_name : '大西安大平台提现金额',
        wishing : '大西安大平台提现',
    },
    sendsms : {
        //发送短信
        host : 'www.96888sms.cn',
        path : '/api.php/open/send/',
        method : 'GET',
        name:'fzqy',
        pwd:'fzqy_688',
        phone:'18049478517'
    },
    imgPath : './public/upload/images',
    uploadPath : 'upload/images',
    hostName : 'www.dxadpt.com',
    webUrl : 'http://www.dxadpt.com/index.html#',
    fuziwebUrl : 'http://fuzi.dxadpt.com/index.html#',  
    shopwebUrl : 'http://shop.dxadpt.com/index.html#',
    apiUrl : 'http://api.dxadpt.com',
    //小杨烤肉支付回调
    notify_url : 'http://api.dxadpt.com/wepay/callback',
    //VIP支付回调
    vip_notify_url : 'http://api.dxadpt.com/wepay/vip_callback',
    //店内支付回调
    cashpay_notify_url : 'http://api.dxadpt.com/wepay/cashpay_callback',
    //商城支付回调
    shop_notify_url : 'http://api.dxadpt.com/wepay/shop_callback',
    wechat : {
        appID : 'wxca7497353aaaa21e',
        appsecret : '3f769aa14d12140cc4cd91cab7023584',
        // appID : 'wx641740ec39d68f46',
        // appsecret : '429b7ff3449632615c48d8376b02dbf6',
        token : 'omJNpZEhZeHj1ZxFECKkP48B5VFbk1HP',
        EncodingAESKey : 'UMaY7JYE8SPNnNHM7C1LTomLK6mYmzn5xKpOjADwACU',
    },
    deadline : '2592000',
    //推荐人提成 从数据库改为配置文件 节省数据库连接
    recommend : {
        first : 0.65,
        second : 0.20,
        third : 0.15,
        guest : 0.2,
        store_pay : 0.02,
        vip_recomment : 0.02,
    },
    api:{
        pagesize:10
    },
    wepay : {
        mch_id : '1361078902',
        partner_key : 'KTcxe4aordhiMyaglAPGQDeAYqDmoFUr'
    },
    // order_timeout : '1',
    order_timeout : '7200000',
    order_xy_timeout : '600000',
    order_shop_timeout : '7200000',
    wechatTemplateMessage :{
        order_pay_message: {
            templateId: 'jqDV55FpSvRZxWppABXilnGF6QnCZUchp9v-2UBh39w',
            url: 'http://weixin.qq.com/download'
        },
        vip_recharge_message:{
            templateId: 'jqDV55FpSvRZxWppABXilnGF6QnCZUchp9v-2UBh39w',
            url: 'http://weixin.qq.com/download'
        },
        store_pay_message:{
            templateId: 'O4eDGCKavz4ZIlnb0QGrzgVPCguGyrOewZmJMl1c03k',
            url: 'http://weixin.qq.com/download'
        },
        //返现
        reference_commission_message:{
            templateId: '_5K2nHEtzxUymwqY7BevVFrzyCEnpADpsogH6uVAeCE',
            url: 'http://weixin.qq.com/download'
        },
        //关注
        user_commission_message:{
            templateId: 'q4fZNqTYbEXeN5LdlDpmW25ffpcnyHKJUucqZVFC5XA',
            url: 'http://weixin.qq.com/download'
        }
    },
    // test : true
};
